<template>
    <div>
        <h1>转为患者</h1>
        <div>
        <el-form ref="form"  :model="form" label-width="150px" >
        <el-row>
            <el-col :span="12">      
                <el-form-item label="住院日期">
                    <el-date-picker v-model="form.value" type="datetime"  placeholder="检测时间">检测时间
                    </el-date-picker>
                </el-form-item>
             </el-col> 
            <el-col :span="12">  
                <el-form-item label="症状">
                    <el-input v-model="form.sym"></el-input>
                 </el-form-item>
            </el-col>
         </el-row>   
         <el-row>
            <el-col :span="12">           
                <el-form-item label="治疗医院">
                    <el-radio-group v-model="form.isResult">
                        <el-input v-model="form.hospital"></el-input>
                    </el-radio-group>
                </el-form-item>
                <el-form-item label="备注">
                        <el-input type="textarea" v-model="form.desc" rows="4" max="200"></el-input>
                </el-form-item>
                
                </el-col> 
                <el-col :span="12"> 
                    <el-form-item label="是否重症">
                    <el-radio-group v-model="form.isHealthy">
                    <el-radio :label="0">否</el-radio>
                    <el-radio :label="1">是</el-radio>
                    </el-radio-group>
                    </el-form-item>
                </el-col>
        </el-row>       
                 <el-form-item>
                <el-button type="primary" @click="onSubmit">提交</el-button>
                <el-button>取消</el-button>
                </el-form-item>
                    
        </el-form>
        </div>
    </div>
</template>
<script>
export default {
    data(){
        return{
            form:{
                value:'',
                isResult:0,
                ctResult:0
            } 
        }
    },
    methods:{
      onSubmit() {
        console.log('submit!');
    }
  }
}
</script>